package com.kintreda.ieco_server.util.api;

/** 
* @ClassName: ResponseCode 
* @Description: 返回值异常信息提示
*  
*/
public enum ResponseCode {

	/** 系统错误提示 */
	COMMON_SUCCESS(0, "查询成功"),
	COMMON_ERROR(-1, "失败"), 
	USER_UN_LOGIN(1008, "长时间未登录，请重新登陆");

	public int code;
	public String message;

	ResponseCode(int code, String message) {
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}